package com.hqx.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hqx.common.utils.PageUtils;
import com.hqx.gulimall.product.entity.AttrAttrgroupRelationEntity;
import com.hqx.gulimall.product.entity.AttrEntity;
import com.hqx.gulimall.product.entity.AttrGroupEntity;
import com.hqx.gulimall.product.vo.AttrGroupWithAttrRespVo;

import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author hqx
 * @email 2322305634@qq.com
 * @date 2024-03-14 10:44:01
 */
public interface AttrGroupService extends IService<AttrGroupEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils queryPage(Map<String, Object> params, Long catelogId);

    List<AttrEntity> getRelationAttr(Long attrGroupId);

    void removeRelationAttr(List<AttrAttrgroupRelationEntity> relationEntities);

    PageUtils getNoRelationAttr(Map<String, Object> params, Long attrGroupId);

    List<AttrGroupWithAttrRespVo> getAttrGroupWithAttrByCatalogId(Long catelogId);
}

